package com.yanqu.road.logic.bussiness.config;

import com.yanqu.road.entity.cricket.config.*;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class CricketConfigBusiness {

    public static Map<Integer, CricketConfig> getCricketConfig() {
        return DaoHelper.getCricketConfigDaoImpl().getCricketConfig();
    }

    public static Map<Integer, CricketUpConfig> getCricketUpConfig() {
        return DaoHelper.getCricketConfigDaoImpl().getCricketUpConfig();
    }

    public static Map<Integer, CricketScenceConfig> getCricketScenceConfig() {
        return DaoHelper.getCricketConfigDaoImpl().getCricketScenceConfig();
    }

    public static Map<Integer, CricketCourtConfig> getCricketCourtConfig(int channelId) {
        return DaoHelper.getCricketConfigDaoImpl().getCricketCourtConfig(channelId);
    }

}
